Routes payments to the correct settlement network and records which one was used.
Connecting to network…