Making the domain optional allows usage of bare hostnames for the servers (e.g. when they're statically configured) and even IP addresses if someone is so inclined (although presentation might suffer in this case).