Ported all python code to use python3! I did it all for the SNI support
in the requests module.