add support for followRedirects option