Allows to don't pass throw the proxy to get a document on the localhost.

Also allow to replace https request to http one.

We have one client where it's not working without that, there 2 layer of reverse-proxy and one of them cant redirect internal request to internal ...