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

Fixes #5028
Merge pull request #5204 from tersmitten/memcached-engine-segfaults-with-memcached-client-version-200

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