added support for websockets (panel)