Add hostname() and test_hostname()
In read_urls() remove duplicates, sort, and prefix with hostname. In test_read_urls change expectations to match new behavior.