More variable name tweaks for camelCase consistency.

Consolidate multiple variable declarations/initializations into a
single statement, with comma delimited variable declarations.

Also, return Content-Length in the response header.