add http_proxy to the curl call