createStream

Creates and registers a low-level handle whose lifetime is owned by the caller.