Fix missing dependencies and couple of warnings

Once `network-uri` is split off from the `network` package, this package
should depend only on the former.