Support overriding the default API URL

In our other binding libraries, we support overriding the default API URL.  This is primarily useful for internal purposes and but also useful for folks who want to run an API mock server for testing.

r? @cosn