Use SOCKS4A feature of requesting that the proxy should resolve host-names.
The SOCKS4 protocol requires host-names to be resolved on the client-side. In some cases this is not feasible, so SOCKS4A introduced an extension which allowed name-resolution to be performed on the proxy instead. If this flag is set then the SOCKS4A extension will be employed thus preventing the attempt to resolve host-names on the client. The default is false
.