Allows to don't pass throw the proxy to get a document on the localhost.
Also allow to replace https request to http one.