Cider command uses known endpoints

Looking for feedback - please give this a try.

I'm currently a bit stuck in that there is no way to turn off IDO matching against host/label. This needs to be resolved IMO before this PR can be merged.

I'll also get some tests written.