moved UAC and UAS client methods to UserAgent to simplify API usage.