added example of messaging across sockets