Python 3.x Compatiblity

This still needs a fix to go into pythonwhois to be fully compatible: https://github.com/joepie91/python-whois/pull/4