Something seems off on the second code example under "Safely Reusing Ports". `s.connect()` is inside the try/except block, which is great, except that both cases in the `except` re-raise something, which means the loop will only ever execute once. Am I misreading that?
Not that that takes anything away from the functionality, of course. CloudFlare is great and I'm excited to see that they're offering web socket support.
Not that that takes anything away from the functionality, of course. CloudFlare is great and I'm excited to see that they're offering web socket support.