minor fixes in debug logging as well as one small coding style fix.
updated tests to reflect recent change in the upstream_truncation patch for the nginx core: https://raw.github.com/agentzh/ngx_openresty/master/patches/nginx-1.2.7-upstream_truncation.patch