'L{client.RedirectAgent} resolves and follows scheme relative I{URI}s in
redirects, replacing the hostname and port when required.'

def test_relativeURISchemeRelative(self):

    self._testRedirectURI('http://example.com/foo/bar', '//foo.com/baz', 'http://foo.com/baz')
    self._testRedirectURI('http://example.com/foo/bar', '//foo.com:81/baz', 'http://foo.com:81/baz')
