Checking that the content-type is actually set

During response interception we need to check that the content-type is
actually set before we use it. See #25

Because of the closure compiler, there's no need in using the indexOf
method inside a condition.
Merge pull request #26 from johngeorgewright/bug/25

Fixes #25