code: func NewClient(c *Connection) (*Client, error) {
  	t, err := newTransport(c)
  	if err != nil {
  		return nil, err
  	}
  	return &Client{
  		Connection: c,
  		transport:  t,
  	}, nil
  }
docs: // NewClient creates a new Client with the given Connection properties