Support ENABLE_NET flag.
Merge #69 r=@kevinmehall: Support ENABLE_NET flag.