handshaking code to peer

There are two name scoping issues here that I'm not solving, but I think
that the general thrust of this string "handShakeStr" is close to being
correct.  I'm still shaky with using type byte, though.