Fix compile errors and warnings in minimal-net.
Improve some comments and debug messages.
Enable a node to ping6 itself.