working on compatibility changes for RestSharp