Added support for base64 uncompressed, gzip and zlib. Added tests.