The Client side of a small chat program