Implement the multiaddr format as described at [multiformats/multiaddr](https://github.com/multiformats/multiaddr).