Some rdpsnd fixes. Both in channels/rdpsnd/server and on the mac server