Properly forward errors in format_reply_to_url
Log errors in HTML lookup
Fix _parse_heuristic