Make it possible to change the URL of the server.

Otherwise, webtest isn't able to change the URL of the server. With this
changes, it's possible to do, in the TestCase class, something like this:

    self.app.proxy.uri = 'http://new-server'

And the requests will be directed to the specified new server.