add websocket example and update some files