gzip feature and minor fixes

please add a comment that gae is somewhat brain dead wrt gzip hence the need for this hack