XDI2 Example: Writing XDI client applications