update BaseWpiWebSocket to implement IServerEvents