HTTP: support regex for current location checks

Adds regex pattern matching checks for the current location similar to how regex body checks are done.
Merge pull request #2168 from llinder/feature/currentlocregex

HTTP: support regex for current location checks, close #2169