Python 2.7, logging fixes, SNI VERSUS PYTHON 2.x