Modified the server code and the GameSocketController