Fixed an error in EndPoint and add Exit Game.

Fixed an error in the EndPoint class that was causing a crash with an address greater than 128.255.255.255.

Also added an ExitGame message so agents can explicitly exit the game.