Fixes #30209.
Previously GetReceivedMessage() returned a CNetMessage. Have the caller process the bytes instead. Similarly SetMessageToSend needed a CSerializedNetMsg, give it bytes instead.
This makes the Transport class usable for future message types that don’t inherit from CNetMessage.
TODO:
- clean up
- fix tests
-  implement SetMessageToSend