Finished liberalizing the API

The library should be relaxed about its inputs where possible. These
last few commits add more support for supplying domain names instead of
URLs, and not needing to specify an ending “/“ on URLs