Example for bridging REST with MQTT and WebSockets