add support for https servers on non-default port with self-signed certs
handle X-Gerrit-Auth http header

- pass header with following request when successfully logged in with /login url