refactor api tests
fix name utils tests to be compatible with python2
secure whois api from rarely or never streamed servers