Allow SSH host to be different than HTTP host

This is needed for setups where you run gitlab on it's own host 
(gitlab.example.com) and setup a reverse proxy from a webserver
(example.com) which passes HTTP traffic to it.