bugfix: reading $echo_client_request_headers could lead to buffer overflow due to misuse of r->header_end while modules like ngx_fastcgi and ngx_proxy can change r->header_end to point to buffers of their own.
style: minor tweaks.