x11rdp: start implementing codec mode