Accept encoding identity

Fixes #1683