[mbed-tls] Not sure if the TLS implementation is correct or not