forked from espressif/esp-protocols
1. will post twice disconnect event when read error 2. will block `timeout` times when set disable_auto_connect 3. When `esp_websocket_client_stop` before `esp_websocket_client_send*`, if the `esp_websocket_client_send*` fails, the status will change to 'WEBSOCKET_STATE_WAIT_TIMEOUT', and the next `esp_websocket_client_start` will fail forever * Original commit: espressif/esp-idf@341e480573