canonicalize host