Add first version of TLS support