[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