fix api_proxy

Now that we have nine.buildbot.net, we can use api_proxy to debug the UI
based on real data

I created this for andras, but forgot to update it.
You could probably get the host part of the url via a WSGI environment variable ...