xrdp-ng: implement freerdp-based input