HTTPCLIENT-911 Support underscore in domain name, or provide better exception If getHost() returns null, extract host:port from getAuthority()