[CXF-6143] - SSL/TLS hostname verification does not strictly follow HTTPS RFC2818
 - Code ported from httpclient
Removing CertificateHostnameVerifier on master
Fixing failing test