protected RestClient(string url)
{
Contract.Requires(!string.IsNullOrWhiteSpace(url), "The url cannot be null or empty.");
SetCertificationValidation(true);
this.url = url;
formParameters = new Dictionary<string, string>();
httpRequestMessageList = new List<HttpRequestMessage>();
}