Content type checking

We need to make sure that the response content-type is checked during http interception so we don't end up filtering any other response type. This should now play with JSON and HTML responses.