Set $wgHTTPProxy globally instead of relying on getenv()
We shouldn't be relying on this anyway and it was never a
supported method of doing this, but we want to be explicit.
Also avoids a function call to getenv() on external requests,
for a super tiny micro-optimization.