Tightened up support for matching url, headers and body against regexes. Closes #15.