whois wrapper library and whois2 command line utility