Synchronous requests with streaming API
For client requests to the streaming API, a never ending stream of events represented by individual JSON objects is established.
After establishing the connection, the gateway will
1.send out the last states of all devices, which have the flag transmitOnConnect set.
2.start immediately with the stream of events as they occur
3.Gateway will never close this connection
This is valid for