A general network theory for the development of curing stresses in an epoxy/fiber composite