func (s *Client) NewRequest(method, url string, body io.Reader) (*http.Request, error) {
	req, err := http.NewRequest(method, url, body)
	if err != nil {
		return nil, err
	}

	setAuth(s, req)
	return req, nil
}
func (s *Client) NewRequest(method, url string, body io.Reader) (*http.Request, error) {
	req, err := http.NewRequest(method, url, body)
	if err != nil {
		return nil, err
	}

	setAuth(s, req)
	return req, nil
}
// NewRequest is like http.NewRequest, with the exception that it will add
// basic auth headers if the client is configured for basic auth.