public void QuitProxy() { Log.Message("Quitting Proxy on Port " + proxyPort); request.Method = Method.DELETE; request.Resource = "/proxy/" + proxyPort; response = client.Execute(request); if (response.StatusCode != HttpStatusCode.OK) { Log.Warning("Could not quit proxy on port : " + proxyPort); } }