now SynflowCore.openStream works outside of Eclipse too
moved StreamCopier to core to allow its use outside of tests