add support for http_proxy environment variable