Improved logging.
Implemented gentler shutdown in case of reading -1.
This allows big responses to be sent even if the request half closes
the connection.
Adding X-Forwarded-Host in case host header is missing, and
coalescing Cookie headers.