Python program to fetch domain whois data using sockets (Credits: BinaryTides)