Use io.ReadFull in places where it is appropriate.