xrdp-ng: remove some unused code in transport module