Bugfix example

This pull requests fixes a couple of bugs. The options weren't handled properly and the influxRequest module failed when Reqest returned EHOSTUNREACHABLE.

This pull request fixes #33