doc/protocols: add details and reformat IPFS section