fix: wrong url with http redirections. fixes #5