Added socket.io and rudimentary chat functionality.