- added ability to specify CA for self-signed certificates - added option to authenticate using client certificates - added unit tests for nats connections