switch the client side to server side

of the tcp-ip connection of the agent to the game.