func New(endpoint string, errorRegistry ErrorRegistry) *Client {
	return &Client{
		Endpoint:      endpoint,
		ErrorRegistry: errorRegistry,
		KeyHeader:     DefaultKeyHeader,
		HTTPClient:    http.DefaultClient,
	}
}
func New(endpoint string, errorRegistry ErrorRegistry) *Client {
	return &Client{
		Endpoint:      endpoint,
		ErrorRegistry: errorRegistry,
		KeyHeader:     DefaultKeyHeader,
		HTTPClient:    http.DefaultClient,
	}
}
// New returns a new instance of Client with default values.