CMS-2988 Add ability to inject http request/response.