Adding support for HTTPS and HTTP Tunneling

https://github.com/gevorg/http-auth/issues/22