tool to return resolved url after following redirects