net.c v1.10 (add daemon)

Add daemon function.
The progress will run in the background.
Merge pull request #32 from lzhang25/master

net.c v1.10 (Default -- Daemon Model)