Add support for stream context options with connectors

Fixes #4
This is done automatically in 5.6, but you may not care since you still need to do it pre 5.6.