made an in-memory module for session-sockets