Centralise subdomain detection logic, and harden it for sub-subdomain clans
Merge branch 'clans' of https://github.com/ejoubaud/highlander into clans