xrdp-ng: define union type and reduce average message size