xrdp-ng: start using protocol definitions