code: public int sendRequest(final String method, final String url,
                           final List<Header> hdrs) throws HttpException {
      return sendRequest(method, url, hdrs, null, 0, null);
    }
docs: Send a (simple) request to the server
  
  @param method the method, GET, PUT etc
  @param url the url
  @param hdrs may be null
  @return int    status code
  @throws HttpException