SSE client: empty `id` field does not clear Last-Event-ID
On master (cf3693c), an SSE event with an empty id field should clear the client's last event ID (per the HTML SSE spec), but the client keeps the old ID and sends it on every reconnect.
Repro: the server sends data: first\nid: 1\n\n then data: second\nid:\n\n, then closes. On every reconnect the client sends Last-Event-ID: 1; it should send none.
Cause: parse_sse_line sets msg.id = "" for an empty id, but run_event_loop only applies it when non-empty:
if (!current_msg.id.empty()) { last_event_id_ = current_msg.id; }
Same "was the field seen" ambiguity #2594 fixed for data; a has_id flag would fix it.
Happy to send a PR with a regression test if you want this.
AI disclosure: I used AI tools to find and reproduce this; I reviewed it myself.