(#21961) Tests for ssl connections without peer verification

This patch adds tests for the newly introduced support
for ssl connections without peer verification.
Merge pull request #1809 from mruzicka/ticket/master/21961_ssl_connections_without_peer_verification

(#21961) Tests for ssl connections without peer verification