We should implement set 1 to 7 of https://fetch.spec.whatwg.org/#fetching. This is mostly refactoring/aligning existing code.
Created attachment 289230 [details] Patch
Created attachment 289231 [details] Patch
What remains to be implemented is client hint really.