Split URL processing into processURLs() function
Add test mode, add more mock data
Skip mailto: links
Fix relative link scanning in processURLs()