handle streams1 compat

Addresses deoxxa/duplexer2#2