fixed can't use localhost/127.0.0.1 bug in proxyserver