Use http_proxy (or https_proxy) environment variable and drop http_proxy option.