TLS implementation in Rust