Request and Response handling incl. JSON-RPC