code: func ProxyHost(proxyHost string) string {
  	host, _, err := net.SplitHostPort(proxyHost)
  	if err != nil {
  		return proxyHost
  	}
  	return host
  }
docs: // ProxyHost returns the hostname of the proxy server (without any port numbers)