Modules: bind QuickJS native views to their context lifetime
HTTP and stream views can outlive their request or connection pool
in a reused runtime. Detaching only the root object leaves variables,
headers, forms and replies with dangling native pointers. Direct
session accessors and cold body getters can dereference detached roots,
while populated request caches hide their expiry.
Share a runtime-owned revocable token across each binding and its
views. Reject expired access before native dereferences, including
cache access, without retaining pools or copying native data.
Keep reply tokens tied to the originating subrequest operation so
completed replies remain usable until the parent binding is detached.
The header and variable lifetime gap dates back to
201b1276, which
introduces QuickJS integration. RequestForm uses the same unguarded
model since
0ffc96df. Extracted JS values and stream callback flags
remain independent; RequestForm remains a guarded request-bound view.