use socket.io to implement a multi-room chat application