adding http_proxy support