add duo support
Merge pull request #5 from segmentio/duo

add duo support