add websocket (pub/sub)