[master] + rework (#2) the fix for the issue #525
https://github.com/AsyncHttpClient/async-http-client/pull/525
"Move the hostname verification to after the SSL handshake has completed"