fix tls without peer cert verification

Without setting the verify mode to VERIFY_NONE, openssl still fails to setup the connection. I didn't see any other TLS tests, so I wasn't sure what unit tests you want for this change.