moved game socket from server file to game object