[mbed-tls] Get size of available application data without calling mbedtls_ssl_read()