Only use Content-Type when non-null to be consistent with XMLHttpRequest

Fixes https://github.com/slightlyoff/ServiceWorker/issues/363