url: Lower case the hostnames

Closes chfoo/wpull#223
url: Add missing docstrings.