check Python version to configure SSL contexts