code: public int getConnectionPoolSize(String host, int port) {
          RequestBuilder req = new RequestBuilder();
          req.host = host;
          req.port = port;
          return _getPoolSize(req);
      }
docs: Get the HTTP connection pool size.
  
  @param host The host name.
  @param port The target port.
  @return The HTTP connection pool size.