Added support for arbitrary URL endpoints.

This fixes issue #25.

We changed over to the `requests` library, which is much more useful than the standard libraries HTTP client support. Minimal changes were made to the README as a cleanup is in progress (see issue #27).

Also added a WSGI factory function to simplify deployment.