Initial support for custom stream contexts.