add gzip support for upload both Android SDK & PHP web