Updated example of implementing a protocol.

These changes demonstrates a more usable protocol implementation.
Merge pull request #326 from jcanaway/patch-1

Updated example of implementing a protocol.