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

Added the ability to disable redirect-following. This is useful when determining e.g that an endpoint is returning the correct redirection code / headers.