Decode gzip/deflate when git upload-pack switches to gzip/deflate compression

When pack size of the git repo is bigger than 1024bytes, git uses gzip encoding with git-upload-pack request. In order to handle this kind of requests, decoding is needed, otherwise git clone will hangt "forever" in idle state. This patch decodes response when content-encoding is set to deflate or gzip.