The proper way to get easy access to a configured memcached client in a request handler is to have a middleware method to get it.