Implement async reading (into buffers and lines).