Add support for stream context options with connectors