xrdp-ng: refactor transport