Modern Erlang versions automatically enable SNI/hostname verification. If target servers use wildcard x.509 certificates,
then Erlang's TLS library requires the hostname check to be customized, which is not currently possible using a static term config (advanced.config).
So we need to provide a configuration setting that would support a few cases:
- Wildcard certificates
- Exact matching
- Disabling hostname verification entirely (not to be confused with disabling peer verification, which actually affects security meaningfully and can already be done)