Add 'deflate' encoding to compression middleware