update code to work with latest versions of deps 升级代码以配合依赖关系的新版
gzip whenever possible 如有可能则接受 Gzip 压缩

... although it seems livedoor's software ignored the whole thing...