ssl: add function sni_hostname/1 to get the SNI hostname