Cleaned up Proxy logging.

1. Untested (changes made on Linux, not Windows).