Adding socket.io and connecting when a game is started