Add wasEncrypted to encodedMessage delegate callback