Split out code to handle opening url streams. To allow import to do the
necessary dynamic loading, with need for explicit module modifiers.
Authored by: dwarren 2018-02-26
Parent: [r9230]
Child: [r9232]