test passing header accept-encoding containing "gzip", fix #22