Fix fetchEvent.request initialization (#1147)
This patch moves the creation of a Request object and its associated
Headers object to a right place. It moves those steps from outside into
the task where the fetch event's request attribute is initialized.
Fixes #951.
* Add html files