libfreerdp-core: improvements to the server-side activation/reactivation code