Creating REST clients on demand