code: func CreateHTTPTransport(caBundle *x509.CertPool, hostname string) *http.Transport {
  	return &http.Transport{TLSClientConfig: &tls.Config{
  		ServerName: hostname,
  		RootCAs:    caBundle,
  	}}
  }
docs: // CreateHTTPTransport creates and configures the