Reducing amount of socket messages sent to clients by only emitting packet of data rather than whole state