rewrite room support to use socket.io rooms