Fixes #3 - GetCodec now flexible when checking content type