Optional
defaults to globalThis.fetch
extra headers for every request (e.g. User-Agent in Node)
where the device token and sync state are kept (default: memory)
defaults to globalThis.fetch