Proxy fixes
This MR implements several fixes in the logic in charge of merging the subscribed events from different clients for a given device.
This MR implements several fixes in the logic in charge of merging the subscribed events from different clients for a given device.