Join a base url with path parts
base url (protocol, host, port, first path parts)
Rest
other path parts. the first one start with ? or & causes the remaining parts to be treated as query params
full URL
Join a base url with path parts