func NewProxyServer(mitmMode bool) *ProxyServer {

	client := &http.Client{
		Transport: &http.Transport{
			TLSClientConfig: &tls.Config{
				InsecureSkipVerify: true,
			},
			Proxy: http.ProxyFromEnvironment,
		},
	}

	return &ProxyServer{
		mitmMode:     mitmMode,
		httpClient:   client,
		certificates: make(map[string]*tls.Certificate),
	}
}
// NewProxyServer create a new ProxyServer instance.
NewProxyServer create a new ProxyServer instance.
// NewProxyServer create a new ProxyServer instance .
func NewProxyServer(mitmMode bool) *ProxyServer {
	client := &http.Client{
		Transport: &http.Transport{
			TLSClientConfig: &tls.Config{
				InsecureSkipVerify: true,
			},
			Proxy: http.ProxyFromEnvironment,
		},
	}
	return &ProxyServer{
		mitmMode:     mitmMode,
		httpClient:   client,
		certificates: make(map[string]*tls.Certificate),
	}
}
func NewProxyServer ( mitmMode bool ) * ProxyServer { client := & http . Client { Transport : & http . Transport { TLSClientConfig : & tls . Config { InsecureSkipVerify : true , } , Proxy : http . ProxyFromEnvironment , } , } return & ProxyServer { mitmMode : mitmMode , httpClient : client , certificates : make ( map [ string ] * tls . Certificate ) , } }
NewProxyServer create a new ProxyServer instance.
NewProxyServer create a new ProxyServer instance .