Working with raw WebSockets is challenging. Here’s a way to make it simple with async/await.