Proxy

To test a https session through a proxy server, you can use something like:

Without proxy

 curl -k  -L https://www.something.com
 result: curl: (7) couldn't connect to host

With proxy:

 curl -k -x https://proxyserverurl:8080 -L https://https://www.something.com
 result: curl: (56) Received HTTP code 407 from proxy after CONNECT