Bugfix example

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