Update Whois.php

simplify domain name parsing
Update Whois.php

renamed private variables and open access to them
Update Whois.php

move domain parsing to constructor
add comments
Merge pull request #16 from Srgk/master

Update Whois.php