Helpers: changes to same_origin(), self_url(), match()
Helpers: changes to same_origin(), self_url(), match()

Allow for multiple values in the origin field and check if ours is the
first value; use origin for referrer check.

xenocrat/chyrp-lite,xenocrat/chyrp-lite