window.connectionInfo refactored to game.connection and game.hub