fix gzip encoding problems on node 0.10 (don't gzip content less than 512 bytes)