Implementation of a simple chat application using socket.io