Update Whois.php

move domain parsing to constructor
add comments