Support subdomain configuration

Configuring the client by subdomain is required from now.

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Raise ValueError for unconfigured variables

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Merge branch 'route-api-by-subdomain'