JSON-RPC: Add security header


The actual parser is marked as security critical, everything else is
significant, except for the gloabl header (which does not contain any
code).

Pick-to: 6.11 6.10 6.9 6.8
Task-number: QTBUG-135760
Change-Id: I175d9d78190fadf7b03d9efa343142f0e2b7bd89
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
commit4bd7123614d8c54e35496ca12db428e21e5c4390
parent3c36df5a41d7b9e52837244ceadb1b071a48843a
authorFabian Kosmale <fabian.kosmale@qt.io>
committerUlf Hermann <ulf.hermann@qt.io>
commit timeTue, 9 Dec 2025 08:25:22 +0000