Fix tunnel to outside proxy.

Fix tunnel to outside proxy: it looks like using full href when passing path is not allowed - it should be just a host. Add X-Forwarded-Proto header too, so hyperProxy can decide which way to proxy the request (through internal http or https server).