Changed domain part to suffix with unittest

The old way was to count (from the right) the levels of the
FQN and the Nth part was regarded the tunnel name. This was
somewhat intuitive while the server didn't know it's FQN and
couldn't report the tunnel's FQN.