- improved websocket handling for room connections