return proper length and errors
Add missing io import
Merge pull request #1 from partkyle/conn-reader-writer-correct-length

Return proper length and errors