[Download] Fix network type checking

It is ok to set networktype to null, as it is optional.
And no need to throw exception if trying to set invalid value (according to spec).