Add a test to verify behavior on x509 auth fail
Add a test to verify behavior on invalid x509 certificate
Add test for case when connecting to non-ssl server with x509
Merge remote-tracking branch 'val/new-x509-test' into 1.4