Memcached support (Patch #4330)

issue #4330