A method for injecting states into data streams, said method performed by each one of a plurality of intermediate servers, the method comprising: communicatively coupling the respective intermediate server to a network and to a platform server, the network including the platform server connected thereto, wherein the platform server is communicatively coupled to the plurality of intermediate servers over corresponding persistent connections (105, 200a), wherein the persistent connections (105, 200a) are WebSocket connections; wherein the plurality of intermediate servers are communicatively coupled to a plurality of computing devices (104, 108, 118a, 118b) over corresponding persistent connections, wherein the persistent connections are WebSocket connections; receiving, via a port, over a first persistent connection, a service request from one of the plurality of computing devices (104, 108, 118a, 118b); inserting a state identifier into the service request, the state identifier being associated with a connection identity of the first persistent connection, wherein the association between the state identifier and the connection identity is stored at the respective intermediate server, wherein the state identifier is an endpoint identifier corresponding to the one of the plurality of computing devices (104, 108, 118a, 118b), wherein the connection identity is a WebSocket handle; transmitting the service request to the platform server over a second persistent connection (105,200a); receiving a response message over the second persistent connection (105,200a), wherein the response message is generated by the platform server in response to the service request, and wherein the response message includes a state identifier of the response message; retrieving the connection identity of the first persistent connection using the state identifier, the state identifier of the response message being the same state identifier included in the service request; and transmitting, over the first persistent connection, the response message to the one of the plurality of computing devices (104, 108, 118a, 118b), the first persistent connection being selected based on the retrieved connection identity. communicatively coupling the respective intermediate server to a network and to a platform server, the network including the platform server connected thereto, wherein the platform server is communicatively coupled to the plurality of intermediate servers over corresponding persistent connections (105, 200a), wherein the persistent connections (105, 200a) are WebSocket connections; wherein the plurality of intermediate servers are communicatively coupled to a plurality of computing devices (104, 108, 118a, 118b) over corresponding persistent connections, wherein the persistent connections are WebSocket connections; wherein the platform server is communicatively coupled to the plurality of intermediate servers over corresponding persistent connections (105, 200a), wherein the persistent connections (105, 200a) are WebSocket connections; wherein the plurality of intermediate servers are communicatively coupled to a plurality of computing devices (104, 108, 118a, 118b) over corresponding persistent connections, wherein the persistent connections are WebSocket connections; receiving, via a port, over a first persistent connection, a service request from one of the plurality of computing devices (104, 108, 118a, 118b); inserting a state identifier into the service request, the state identifier being associated with a connection identity of the first persistent connection, wherein the association between the state identifier and the connection identity is stored at the respective intermediate server, wherein the state identifier is an endpoint identifier corresponding to the one of the plurality of computing devices (104, 108, 118a, 118b), wherein the connection identity is a WebSocket handle; wherein the association between the state identifier and the connection identity is stored at the respective intermediate server, wherein the state identifier is an endpoint identifier corresponding to the one of the plurality of computing devices (104, 108, 118a, 118b), wherein the connection identity is a WebSocket handle; transmitting the service request to the platform server over a second persistent connection (105,200a); receiving a response message over the second persistent connection (105,200a), wherein the response message is generated by the platform server in response to the service request, and wherein the response message includes a state identifier of the response message; wherein the response message is generated by the platform server in response to the service request, and wherein the response message includes a state identifier of the response message; retrieving the connection identity of the first persistent connection using the state identifier, the state identifier of the response message being the same state identifier included in the service request; and transmitting, over the first persistent connection, the response message to the one of the plurality of computing devices (104, 108, 118a, 118b), the first persistent connection being selected based on the retrieved connection identity.