Adds message forwarding capability on top of PAPI.
Also cleans up PAPI handling. Implementation not complete for each type, but the protocol and FSM is still in development.