initial talking

client example, server initialization
a couple of tiny bugfixes