This example demonstrates how to get the roster and presence updates.
