Set the host and the port for HTTP Connect Tunnelling. This allows running the connection through a proxy server.
HTTPConnection.set_tunnel(host, port=None, headers=None)
>>> import http.client
>>> conn = http.client.HTTPSConnection("localhost", 8080)
>>> conn.set_tunnel("www.python.org")
>>> conn.request("HEAD","/index.html")