Fix Parsoid proxying for dev and prod environments.

On devboxes, no proxy should be used. However, in production it needs to proxy through 127.0.0.1:6081 which is set up as the default proxy via `$wgHTTPProxy`.