Add AES en/decrypt in com/decompress stream function