detect memcached version