Add pseudo code to implement incoming messages to be routed.
Implement stub functions to handle JSON-RPC success/error responses.