Produce absolute URLs for redirects if the user provides relative URLs

fixes #16 and #18