Merge pull request #9471 from asutherland/email-4k-fix

Bug 864867 - Keep track of partially fetched bytes now that we attempt larger or complete download of bodies r=asuth.(cherry picked from commit 5944dfb3fb724755fde23d6cccb0f1bfa218e065)