Adding a more flexible HTTP stubbing helper.