feat(router): configurable gzip settings

Fixes #884
Merge pull request #965 from johanneswuerbach/gzip-router

feat(router): configurable gzip settings