msg en/decryption is done in NetworkWrapper