libfreerdp-core: split licensing/capability steps in server-side RDP state machine