making protocol configurable
Merge pull request #1 from waffleio/protocol

making protocol configurable