Determine content length eagerly in HttpServer
With this commit we eagerly evaluate content length in HttpServer and also pass the same value to ResourceHandlingHttpChannel. With this change it easier to reason about the content length that is freed leaving no doubt that it must be identical to the reserved amount.