Added config option for elasticsearch protocol
Merge pull request #4 from gaving/master

Added config option for elasticsearch protocol