Normalize method names as in XMLHttpRequest

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