Class Gzip_stream is added. Some bugs are fixed