Use network-uri package with recent network versions

The `network` package's URI functionality has been split off (as of version 2.6.0.0) into the separate `network-uri` package, so this commit declares a dependency on `network-uri` if a recent `network` package is used.