Set InsecureSkipVerify when ca is not provided
Add a test for TLS events
Combine implementation of event listener tests