Fix segfault when Name = $HOST but $HOST is not set.

Conflicts:
	src/net_setup.c
Fix typos in the documentation.

Thanks to Thomas Sattler for finding and reporting them.