Update example code to use protocol
Merge pull request #112 from nwolfe/fix-readme

Update example code to use protocol