a little tcp chat developed in ruby