implementation of a PHP client for the v2 telehash protocol