further libmemcached improvements