Move protocol specification from README.md to docs/.