Set the SSL hostname so that SSL SNI based proxies can route a connection

Set the SSL hostname so that SSL SNI based proxies can route a connection.