This is interesting because Apple listed in their release notes for watchOS 6 that URLSessionWebSocketTask was supported (“URLSessionWebSocketTask and URLSessionStreamTask are now available for use in watchOS apps. (49779789)”).
I hope Apple changes their mind and adds support for it back, it makes a lot of apps I want to make on the watch not possible and destroys apps that were already using it.