add authentication via new Message core class
confirm peerId matches claimed pubkey to prevent MITM attacks
fix encoding mistake - payload should be buffer-like
Merge pull request #768 from ryanxcharles/feature/authentication

Authentication