Subclass Memcached instead of modifying the instance

instance_eval is bad, so we should just subclass Memcached.