[curl] log effective URL

As requested by @MartijnKaijser