Cleanup of transferKeys(), hasReplicasChanged(),
hasPredecessorChanged().
-setLocalNode(String key) determines and initializes localReplicaList
and onlinePredecessor. Also throws IllegalArgumentException if the key
is not found in the map of nodes.
-getSocketAddress(node) throws NoSuchElementException if it is not found
in the map of nodes.