Allow regexp in matchHeader

I thought it would be nice to allow regexps in the value of matchHeader(). Lets you be a little more flexible with headers (especially User-Agent, which was my motivation).