Chat engine built with Socket.io in NodeJS