How about proxy to 'CONNECT' request?
In case chrome browser:
this way can implements a end-to-end secure forward proxy.
I would also like to see this feature implemented in the module.
Here is my current implementation for the problem (maybe something ca be reused):
if you want to tunnel the proxy request through a tunnel (which uses connect), you want to use something like tunnel-agent and pass it in as the agent. If there is another use case please be more clear and give a code example that does not work.
@jcrugzz I am unable to get https to work in node-http-proxy, here's the code example https://gist.github.com/steelbrain/b24f795fe92ec229ddb9#comment-1489331