Fix #98. Thanks to @robertgtaylor1 for the find.
Making authentication algorithms pluggable with tests.
Merge pull request #1 from dimalev/pluggable-auth

Pluggable auth
[connection] Adding an options parameter to the Connection constructor to allow for configuration

- Also, adding a first configuration option which will send custom HTTP headers
Merge pull request #11 from tagged/connection_options

[connection] Adding an options parameter to the Connection constructor
Merge 'upstream'
fixed wrong variable name