Update lib/Mojocoin/Protocol.pm

A switch block makes more sense.
Merge pull request #2 from eroot/master

Switch block since you're using Perl 5.14