add example about chatServer