java: rpc: logging SSL/TLS version as well
cpp: rpc: testing for different errors on client/server SSL/TLS mismatch