Basic http server for a chat client written in node