Prevent from crashes when using squid for proxies

When using squid `Novutec\WhoisParser\Socket` is writing domain name directly to squid instead of whois server. 

http://www.squid-cache.org/