code: func NewHTTPRequest(conf *Config, method,
  	path string, req *Request) (*http.Request, error) {
  	return NewHTTPRequestWithURL(method, GetURL(conf, path), req)
  }
docs: // NewHTTPRequest creates a new HTTP request from a given server request.