Added the ability to do pattern vs literal header matches

Hi Chris,

This adds the ability to specify whether you want to do a literal or pattern based match on a header. This allows you to specify a header containing special regex chars (mainly . and +) without having to escape the string. 

I would appreciate your feedback on this change as this is causing us a bit of a problem.

Thanks
Brian