Add support to follow redirections
Merge branch 'feature/follow-redirect'