Node.js session manager with some advanced features