Add TLS support for switch-controller connections