net subpackage

This PR implements a `Multiaddr` friendly net package.

Not yet ready -- missing tests -- but almost there.

cc @whyrusleeping