Add support for reverse proxies.
Fix null protocol header error
Merge pull request #69 from NoesisLabs/master

Add support for reverse proxies.