Added the option to not follow redirects (and accompanying test)