add http_proxy support