Fix URL redirection errors

In case the server didn't send the full URL, redirection tracker failed.

Signed-off-by: Aki Saarinen <aki@akisaarinen.fi>