handle HTTP failures
refactor connection and get into its own method
results was defined but not used
Timeouts as options
Merge pull request #25 from digital-science/resmon_fixes

Riemann resmon improvements