Example chat program implemented using networking framework