Return the network from the network setup function. Also, special-case for when we get a server name the same as the wildcard.
This is the beginning of the code for status.net and related status farms. It will read basic information about a site from a shared, central database and use the data stored there to switch on the hostname.