feat: add conn-level infileStreamFactory
option
#2159
Merged
infileStreamFactory
option
#2159