added DEFLATE compression and compression alg support; fixed AES encryption routines