rewrite_relative_url: don't touch stuff which has sheme in it (closes #738)