Revert "Only attempt rewriting https or http URLs."

This reverts commit f09fe5ef7ac38e129c555c372beab2263dd83028.

Fixes #503 (appropriately numbered bug)

cc @semenko