code: func NewConnection(skipSSLValidation bool, dialTimeout time.Duration) *PluginConnection {
  	tr := &http.Transport{
  		TLSClientConfig: &tls.Config{
  			InsecureSkipVerify: skipSSLValidation,
  		},
  		Proxy: http.ProxyFromEnvironment,
  		DialContext: (&net.Dialer{
  			KeepAlive: 30 * time.Second,
  			Timeout:   dialTimeout,
  		}).DialContext,
  	}
  
  	return &PluginConnection{
  		HTTPClient: &http.Client{Transport: tr},
  	}
  }
docs: // NewConnection returns a new PluginConnection