properly handle HTTP_PROXY_USER AND HTTP_PROXY_PASS