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, which hasn't been connected to yet.

http://www.squid-cache.org/