[CHORE] Refactor Socket.
[CHORE] Remove subscription event listeners from websocket server.