Only attempt rewriting https or http URLs.

Fixes #330, exception processing about:newtab.
Merge pull request #475 from jsha/no-about

Only attempt rewriting https or http URLs.