compatibility modifications in preparation for the new memcached client