Fix regression: allow re-use of a WebSocketHandler