Revert "Only attempt rewriting https or http URLs."

This reverts commit f09fe5ef7ac38e129c555c372beab2263dd83028.
Merge pull request #508 from jsha/revert-http-check

Revert "Only attempt rewriting https or http URLs."