doc: add reference to wire protocol details