getHostForUrl

Host ready to be concatenated in a url. IPv6 hosts need to be enclosed in brackets