This is some simple demo code, doing the following:
- Create a new identity if none exists and use an existing one otherwise.
- Load an address book if one exists
- Query the directory server for an ID (one of a demo echo bot we run)
- Save the address book
- Start an echo server