Added a logging option that reports full HTML contents, for debugging,
as well as incrementally more detailed logging via -d up to -dddd.