code: private HttpUriRequest makeRequest(final URI uri, final List<NameValuePair> nvpairs)
      {
          List<NameValuePair> params = nvpairs;
          if (m_secret != null) {
              params = sign(uri, nvpairs);
          }
          return makeRequest(uri, joinParameters(params));
      }
docs: Generate the HTTP request.
  @param uri            The request URI
  @param nvpairs        The list of name value pairs
  @return The HTTP request.
  @throws URISyntaxException