use the stream wrapper prefix when available
Merge pull request #91 from mitom/master

use the stream wrapper prefix when available