TCP client-server demo in Ruby