The client code is basically a copy-paste from the original socket.io memory store, so that came from there and I didn't look too hard at it. This entire chunk will have to be replaced later when/if we plug in persistence, so I'd rather not do much to this code right now.