rewrite memcache_client.py monkey patch based on python_memcached-1.53.