code: func commandClient(cmd CommandWithTLSSupport) (*http.InternalClient, error) {
  	tlsConfig := cmd.TLSConfiguration()
  	var TLSConfig *tls.Config
  	if tlsConfig.CertificatePath != "" && tlsConfig.CertificateKeyPath != "" {
  		cert, err := tls.LoadX509KeyPair(tlsConfig.CertificatePath, tlsConfig.CertificateKeyPath)
  		if err != nil {
  			return nil, errors.Wrap(err, "loading keypair")
  		}
  		TLSConfig = &tls.Config{
  			Certificates:       []tls.Certificate{cert},
  			InsecureSkipVerify: tlsConfig.SkipVerify,
  		}
  	}
  	client, err := http.NewInternalClient(cmd.TLSHost(), http.GetHTTPClient(TLSConfig))
  	if err != nil {
  		return nil, errors.Wrap(err, "getting internal client")
  	}
  	return client, err
  }
docs: // commandClient returns a pilosa.InternalHTTPClient for the command