code: protected void addRequestHeaders(HessianConnection conn)
      {
          conn.addHeader("Content-Type", "x-application/hessian");
          conn.addHeader("Accept-Encoding", "deflate");
  
          String basicAuth = _factory.getBasicAuth();
  
          if (basicAuth != null)
              conn.addHeader("Authorization", basicAuth);
      }
docs: Method that allows subclasses to add request headers such as cookies.
  Default implementation is empty.