Fix sample rate
fixed tests
Merge pull request #19 from liuggio/fix_v1

Fixes on v1 - Sample rate, and reduced algo
Make sure messages are LF separated on all platforms
Merge pull request #22 from Seldaek/patch-1

Make sure messages are LF separated on all platforms
a