keep track of the last used node also when not using the random_node mode
allow to query the library for the last used node

useful for logging/debugging purposes