(#18255) - Follow http redirections

This patch adds support for HTTP redirection in the Puppet HTTP
client.

Signed-off-by: brice <brice-puppet@daysofwonder.com>