Proxy now tries to determine the app's appid.

1. And all that.