Fix tests of network util.
Version bump to 0.3.1.dev0

* See PEP 440.