curl -x "vps_ip:80" -v
https://dl-ssl.google.com/linux/linux_signing_key.pub -o /tmp/key.pub
* Hostname was NOT found in DNS cache
* Trying vps_ip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to vps_ip (vps_ip) port 80 (#0)
* Establish HTTP proxy tunnel to dl-ssl.google.com:443
> CONNECT dl-ssl.google.com:443 HTTP/1.1
> Host: dl-ssl.google.com:443
> User-Agent: curl/7.38.0
> Proxy-Connection: Keep-Alive
>
* Recv failure: Connection reset by peer
* Received HTTP code 0 from proxy after CONNECT
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer