* Support Python3 for github CI
* Fix runtime error due to changes in telnetlib for python3
This will also remove support for python2
* Fix runtime error due to changes in socket lib
* Fix runtime error
* Fix error
* Replace imp to importlib to fix warning
* Fix some error
- On windows, error EACCESS when binding/opening socket
- Fix UnicodeEncodeError/UnicodeDecodeError