Handshake protocol

Add a description of Handshake protocol