net.h & main.c

Relocated  marcos from http.c to net.h .
Replaced some remaining magic numbers.
Call usage as soon as it gets option 'h', so flag_h is no longer
necessary.