Making protocols configurable.
Merge pull request #10 from danbev/protocols

Making protocols configurable.