add zlib support, compress/uncompress in memory
fix small issues in encload.cpp