Updated Proxy's bridge library to the latest API.
Updated Proxy to fully use the new API calls.

1. At least the ones currently implemented.
2. Also fixed function signatures for userstats.
3. Modified things to use 100 character lines in some places.