added http_proxy env support