Implementation of basics of Pesit Protocol (forked from git clone git://git.code.sf.net/p/pesitprotocol/code pesitprotocol-code)