Whois domain class for PHP and Python