Bugfix for: Memcached Engine segfaults with memcached client version < 2.0.0

Fixes #5028