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.