An emulation layer for migrating from APC user cache to Memcached