Add defaults for timeout and rate when set to zero

Closes #7.
Merge pull request #8 from VividCortex/issues/7-default-options

Add defaults for timeout and rate when set to zero