Add peer.nim. Switch daemonapi to use PeerID from peer.nim.
Add examples of bootstrap node and gossipsub node.