Add hostname verifier
Update the default TLS protocol used to the highest available by default, remove insecure protocol.
Add hostname parameter class name
Merge pull request #2509 from wsargent/fix-hostname-verifier

Fix hostname verifier