socket.io used to do something silly like that too