My last try WITH bugs
Support basic DNS and connectivity tests.
Support proxy and non-proxy modes.