xrdp-ng: start making use of function tables for message processing