Allows to don't pass throw the proxy to get a document on the localhost.
Also allow to replace https request to http one.
Merge pull request #29 from sbrunner/localhost

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