I imagine we want this to do either ssh or http depending on the config