Screwing around with Ruby. Building a chat client