Update parser.
Add protocol tests.
Remove channel code from part 2.
Add tests.