embed: Add protocol documentation