Respect CONTENT_LENGTH.
Directed stderr to a logfile.