Use URI#escape for parsing the host of the index links (MARC links uses ...

...rescue).