Improved Memcached support