inflate-upstream: support gzip/deflate, use kstackbuffersize