Add license.txt
Improved protocol docs