XDI2 Examples: Basic messaging functionality