code cleanup of the Memcached session driver