xrdp-ng: unify encoding of orders