* feat(mcp): support modern and legacy protocol connections
* fix(mcp): preserve annotated headers on modern tool calls
* fix(mcp): load parameter header schemas before tool calls
* fix(mcp): keep a working legacy session when discovery retry fails
Modern method-level 404s stay connected, while an expired SSE session still disconnects. A transient discover failure retries once, and a failed retry keeps the handshake that already succeeded.
* fix(mcp): wrap protocol negotiation lines for the linter
golangci-lint rejects lines longer than 120 characters.
* fix(mcp): retry protocol discovery without dropping the live session
A second initialize on the same transport clears a stateful legacy session when discover returns 404. Probe on a separate connection, and drop cached parameter headers after another client refreshes the directory.
---------
Co-authored-by: wizardchen <wizardchen@tencent.com>