Draft based on MessagingPatterns page and XDI Tutorial