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

add duo support