XDI2 Example: How to write XDI2 connectors