text: Title: Upgrade `websockets.legacy` usage
  Body: ### Describe the current behavior
  
  Currently we rely on imported objects from `websockets.legacy` which is deprecated (as can be seen here, for example: https://github.com/PrefectHQ/prefect/actions/runs/13147657643/job/36689175326?pr=16972).
  
  ### Describe the proposed behavior
  
  We need to plan to move to the newer asyncio implementation following the guidelines outlined [here](https://websockets.readthedocs.io/en/stable/howto/upgrade.html). We believe this should be straightforward as we don't rely on anything deep cut, but opening this issue to track so we don't get caught off guard with an upgrade.
  
  ### Example Use
  
  _No response_
  
  ### Additional context
  
  _No response_