[mbed-tls] Release all memory held by mbedtls_ssl_context