CVE-2026-19445: ssl: resolve the SSLContext for the SNI servername callback
from the connection instead of the borrowed SSL_CTX argument, and unregister
the callback in context_dealloc, so a context released after sni_callback
switched the connection is no longer used after it is freed