Improve HTTP_REFERER matcher.

Fixes trevorturk/flash_cookie_session#19.

Also moved the matchers to frozen constants while I was at.