Fix race condition in content length
Fix race in deflater, remove early close
Fix race conditions in head middleware
Fix race condition in sendfile middleware