segmentio: add support for SegmentIO API
Merge pull request #68 from davidgit/segmentio

segmentio: add support for SegmentIO API