Help me out here, I am lacking vision.
When we do a https connection using socket, we create a sslsocket to server on port 443, then do shandshake n all . And we print out that we are making a https GET/POST request with the host name header.
In case of making a https connection via a proxy. Should I just create a socket to the proxy and print out that I want a HTTPS GET request to a host, some what like this .. GET https://www.google.co.in/ HTTP/1.1\r\n.
It actually, is working that way. I doubt, need I not manage any sslsocket or handshake on my own ? Will the proxy manage everything for me ?