Proper indentation for HTML contents
More debug output for reply failure