Fix import and Unicode-correctness issues in ssl_compat on Py3.3