Using Cap'n'Proto as rpc framework. It works via passing capabilites so we can easily extend the functionality from the client and server side.
Use the capnptool to generate the code: https://capnproto.org/capnp-tool.html
As a design decision the frontend uses a native dll which encapsulates the framework. The capnproto does not compile with the /clr flag!