avformat/http: support relative url redirection