libredirect_undo_redirection, libredirect_is_redirected