protected Client getClientInternal(String idx) {
        Client client;
        synchronized (mutex) {
            client = (Client) getMap().get(idx);
        }
        return client;
    }
Gets the client and returns it.
@param idx the index
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/InMemoryRegistry.java