Support following redirects (closes #6).