handle redirect

Similar to https://github.com/luisobo/Nocilla/pull/47,

this version handles redirecting to relative URL
and cancel the original request (matches Apple's sample code)