Some generic WebSocket tests. To be perfectly honest, I would rather implement my own TryCatch segment around exception-throwing code then
work with xUnit -- it's nowhere near as convenient as C++'s Catch.