prevent dns leaks when using proxy. fixes issue #147