[bugfix] handle multi ? urls

```js
retSegs.push.apply(retSegs, lastSegs);
return retSegs.join('?');
```
because it doesnt create a new array