Experimental v3 support

Getting started working towards [v3](https://github.com/telehash/telehash.org/pull/67).