Added support for WebSockets