added select support
Merge pull request #5 from segmentio/select

added select support