xrdp-ng: create separate client and server callback interface