libavformat: http: support relative url redirection