C++ GZip Codec based on ZLib