WebSockets Sound Simple Until You Have to Maintain One There's a moment every engineer hits when building a real-time feature: you look at the WebSocket spec, think "okay, just a persistent TCP connection with a handshake," and start writing the server. Then a week later you're debugging a half-open connection that isn't sending frames but also isn't closing, and you're reading RFC 6455 at midnight wondering where things went wrong. This is not a hypothetical. It's basically a rite of pas...