Memoize asynchronous functions in node.js using memcached