Support for different representations of the same resource

Requests for zgip and deflate encoding are served accordingly.