SLICE-56 Parsing of URLs in LinkBuilderFactory - refactor