Implement relative URIs in redirects

It was problem for me too.