Added support for arbitrary URL endpoints.

Also added a WSGI factory function to simplify deployment.
Merge pull request #35 from jeromekelleher/client-urls

Added support for arbitrary URL endpoints.