Add SNI support for checks

Added support for SNI (Server Name Indication).