add getLocal method to find nodes on the same network...

okay somehow I missed this from the first discovery pull request. it adds getLocal into the api...
hmm, maybe we should leave this out, until plugins are right?