Fix build errors and warnings in minimal-net.
Improve some debug messages.
Enable a node to ping6 itself.
Merge remote-tracking branch 'mpl/minimal-net' into minimal-net