* Logout reply timer can now be cancelled, such as if it is successful.
* OnSimDisconnected event now has a "Was Connected" property, this'll be false if OnDisconnected is firing before the simulator connected in the first place.
* Adds a reason for disconnection events in logs
* Prevents an exception if a session is cancelled before it is fully connected with the _packet?box objects.
* Adds a FindSimulator overload which takes a handle rather than just an IPEndPoint
* Region handshake sends 0x7 instead of 0x2 in flags. This impacts the order and speed of object loading.
Add logic to copy region size info (if supplied) into Simulator class on instance creation.
Add region size fields to definitions of LoginResponse, EnableSimulator, TeleportFinishMessage, CrossedRegionMessage.
Add constants Simulator.DefaultRegionSizeX=256 and Simulator.DefaultRegionSizeY=256
Add display of region size in "RegionInfo" TestClient command
adds extra checks for null and improves SendPacket, also adds a new function: NetworkInvaildWarning to handle passing to the log as debug level.
why: In some cases the network can disconnect from the sim in a weird way so the client trys to send data out but the outbox / inbox are gone. these extra checks
will help stop it from outright killing itself.
This should prevent unnecessary wait looping internally and lower the packets time to start processing.
Seems to fix WoofBot's packet processing hot path.