add HostHash elevator

allows to switch database based on full host and using
a hash to find corresponding database name
escape dot in domain regex to match www.