TLS implementation on top of SwissTM