initialize $do_compress to 0 before checking whether the request is compressed
Merge pull request #7 from kvar/master

initialize $do_compress