Fix asset logic to not throw exceptions when there is no active game (e.g. when assets are being loaded as part of a server)
Fix race condition where header of next message is received in the same loop as the footer of the previous message.

Previously this would cause an exception to be raised because the finalization handling was only done after all packets had been processed by the OnMessageReceive handler.