Hook to provide Server Name Indication (SNI) for TLS servers. When
starting an HTTPS server, all solutions of this predicate are collected
and a suitable sni_hook/1 is defined for ssl_context/3
to use different contexts depending on the host name of the client
request. This hook is executed
before privileges are dropped.