Check correct variable for domain normalization
Move normalization to instantiation
Move default-path normalization back

The normalization applied to the path should only be applied to the
default-path, not all paths.
Add tests for domains with leading period

This is part of the compatibility with older clients/servers as
specified in the RFC.