handshake: Migrated to async with simplified functionality

test:
 Added test-handshake.js to handle handshake get() & set() methods