Thin fetch adapter for the JSON-RPC endpoint. POST by default; a
request for a read — its spec (lookup_action_spec) has `side_effects:
false — is a GET with method, id, and params` in the query string
(matching create_rpc_endpoint's GET convention), unless its input carries
a sensitive value (schema_has_sensitive_field, checked once per spec) or
its path and query run past max_get_url_length. A notification, and a
call for a method without a spec, is always a POST. Always reports ready.
On non-OK HTTP responses, a body that is a JSON-RPC error response for this
request (same id, or null when the server couldn't read one) is returned
as-is, so the server's code, message, and data reach the caller — the
status → code map is lossy (queue_overflow and rate_limited share 429).
Any other body (HTML from a proxy, empty, malformed) gets a synthesized
envelope whose code comes from http_status_to_jsonrpc_error_code.
A 2xx whose body isn't a JSON-RPC response (an HTML fallback page, say)
becomes an internal_error naming the status and content type.