Simple cli chat client

Hi,
based on your great library I implemented a small chat client that can actually be used to chat.
I do not know if this fits within the scope of your library but if you want you can merge it in.