adding websocket output event adaptor