DRYed up request code to make it easier to overwrite.
Merge branch 'master' of github.com:DiUS/pact-consumer-js-dsl