Find the correct virtual host among multiple virtualhosts in different nodes, prefering the remote node, then the local od node, then the local node.
Find the correct virtual host among multiple virtualhosts in different nodes, prefering the remote node, then the local od node, then the local node.

git-svn-id: 81e381228600e5752b80483efd2b45b26c451ea2@1457 e27351fd-9f3e-4f54-a53b-843176b1656c

trevor/calendarserver,trevor/calendarserver,trevor/calendarserver