xrdp-ng: pack messages into an array list before queueing