libfreerdp-core: MCS cleanup, better handling of domain parameters