Currently, when we specify the endpoint that a session should connect to, we do it by using a index that refers to the connection position in the connections config (see #76). We could also implement an alternative that lets users refer to a connection by its identifier.