implemented prototype of handshaking(pub-sub)
Merge pull request #2 from shohei/id-handshake

implemented prototype of handshaking(pub-sub)