Added InputStream.read(OutputStream), closes #20