I guess I should also post the link where I explored half a dozen ways to implement websockets and gave a presentation on it. If your codebase isn't too large yet, you might consider refactoring it with a different library. My favorite (after trying them all for my presentation) turned out to be Mojo