Fix up keep-alive handling.
Fix up Range/Content-Length calculations.
Fix up header logging. (TODO: dont call toHeaderString)

Change-Id: I3cdcdca179a5b7ddcbdaa582590e60f52cd5c515