Add support for relative redirects.