Add handler for /proc/net/netstat, plus minor fixes