Example of a chat application using socketio