Add SNI support to the ssl check