This commit fixes the issue with TLS 1.2 connection when TLS 1.3 is enabled in config.
esp_transport_ws_get_upgrade_request_status