Move memcache client into handler