Fix warnings from WebSocketServerModule.