add websocket support
improve websocket message