Version handshake

addresses #166 
it's my solution to send out the local version only once. I wanted to have the whole thing in one `for { select {} }`