Add basic auth and timeout parameters.
Merge pull request #3 from inactivist/feature/basic-auth-and-timeout-parameter-support

Add basic auth and timeout parameters.