There's some state checking being done, e.g. `if (receiver == SALTYRTC_ADDR_SERVER) ...`. Replace that with polymorphism based on the new `Server` class.