Wrote basic chat server

To experiment with socket.io, wrote a quick and dirty chat server.