add ResourceClientFactory::newClient()