Fix MultiAddress compilation error. Fix chat example.
Change some PeerID api. Some fixes to chat.
Add peer.nim. Switch daemonapi to use PeerID from peer.nim.