refactoring
domain-agnostic websocket url