How difficult would it be to write a proxy server that proxies to a web server that takes advantage of WebSockets?  I've been looking through the documentation and though there is easy access to proxying and direct support for WebSockets, I can't see a clear path to integrate the two to create a proxy server that proxies to a web server that utilizes WebSockets.

Any examples, tutorials, links, sample code, etc. is greatly appreciated.

Thanks,

Matt Hicks