code: public IClient newClient(Object[] params) throws ClientNotFoundException, ClientRejectedException {
          // derive client id from the connection params or use next
          String id = nextId();
          IClient client = new Client(id, this);
          addClient(id, client);
          return client;
      }
docs: Return client from next id with given params
  
  @param params
  Client params
  @return Client object
  @throws ClientNotFoundException
  if client not found
  @throws ClientRejectedException
  if client rejected