client connected to server, with message exchange

test folder contains a template, this version works well.