casted the whoinfo.whois_server var to string (it was causing problems with PySocks and this fixed it)