Port of jzlib to as3