PEP8 fixes in the social app.  Fixes #1589.
PEP8 fixes in the proxy app.  Fixes #1586.