web socket manager