Fix deprecation warning for SSLSocketFactory.setHostnameVerifier