a sample chat program to test out sockets in ruby