support canonicalizing url without protocol