Fixed url generation

Fixed ur generation on buildUrl method for Base transport class,
if the base path was an array an slash will be added even if the
first element had it (in which case the isAbsolute flag is turned
on).