Improve net.h documentation.