fix node 0.10.x compatibility (Recursive process.nextTick errors).
add gzip compression.