finalized WebSocketOutgoing with tests