Correctly set client mode for TLS handshakes

Fixes CAMEL-8123 - https://issues.apache.org/jira/browse/CAMEL-8123