xfreerdp-client: some changes to support other clients