Removed extraction of the url at each loop

The url was recalculated at each loop. This was unuseful and really
expensive especially in presence of a big quantity of data to send or
receive.