plug TLS support in dict