[doc] Add protocol documentation