Sending messages to client

This code illustrates how to use ServerSentEvents from Flask.
Events are published with ZMQ allowing multiple clients to get updates at the same time.