An example node chat application using websockets