This was partial work to go to python3, but I've now since learned that going twisted is not the way I want to work for web frameworks, so a large amount of this code will be dropped (kleintest.py) or rewritten..