Implementation of an adapter that converts standard TOS_Msg packets into sp_message_t messages, dispatches them to SP, and then decomposes the messages back into packets after transmission.