Modified constructor to accept a Readable stream instance and wrap it