Changing gcnhub to use select() instead of threading, which should fix the problems with ssl