Added comments for ApiServer::addClient()