Added basic socket.io chat functionality