Add test for case when connecting to non-ssl server with x509