Rewrite the rmp protocol document in the markdown format for easy maintenance.