basic communication with memcached server