(TK-108) Add support for persistent Java clients

This PR adds support for both synchronous and asynchronous persistent Java clients.
The corresponding import for `SSLContext` can be removed now since nothing else would need it anymore.