Add unit test for SSL/TLS in ClientAgent.
Update example TLS config to allow custom cert_authority.
Refactor SSL handshake to be handled by NetworkAcceptor.
Implement Certificate Authority in Client Agent.