private WebClient CreateWebClient()
{
WebClient http = new WebClient();
http.Headers.Add("User-Agent", UserAgent);
//http.Proxy = new WebProxy(IPAddress.Loopback.ToString(), config.localPort);
http.Encoding = System.Text.Encoding.UTF8; //否则遇到中文Json解析器会报错
return http;
}