am 286a1434: Merge "Revert "Remove the warning if the caller gets the insecure variant and add hostname verification (SNI)"" into lmp-dev

* commit '286a143456d15dad41f3dad1e34359144b2db489':
  Revert "Remove the warning if the caller gets the insecure variant and add hostname verification (SNI)"