Revert "Remove the warning if the caller gets the insecure variant and add hostname verification (SNI)"

This reverts commit 007392a8a17df8b608f4ccd9129436cb570090d3.

Bug: 16660566
1 file changed