async fn handle_socket(socket: WebSocket, state: AppState)