Any network code comes from an algebraic curve taking osculating spaces