Matching responses with python-memcached