Join URL parts into a single URL.