Allow network related tests to be skipped if no network is available. Fixes #6710.
Merge pull request #6904 from s0undt3ch/0.16-merge

Merge network require decorator to 0.16