code: func NewClient(config *Config) (*Client, error) {
  	c, err := tlsutil.NewConfigurator(config.ToTLSUtilConfig(), nil)
  	if err != nil {
  		return nil, err
  	}
  	return NewClientLogger(config, nil, c)
  }
docs: // NewClient is used to construct a new Consul client from the configuration,
  // potentially returning an error.
  // NewClient only used to help setting up a client for testing. Normal code
  // exercises NewClientLogger.