The ssl.match_hostname() function from Python 3.4
anaconda login
conda install rmcgibbo::backports.ssl_match_hostname