More logging.
Fixing host header handling.