added simple websocket handler