Implement connecting to game server.