Generic game lobby hosting system with socket.io