Adds support for HTTP_PROXY environment variable.