A messaging client example