Fixed a FIXME by adding a bound to the number of HTTP redirects followed, as well as redirect loops.

Is there a central configuration module which I can query for max_redirects?