add chatDemo of chapter 2 from <<Node: Up and Running>>