ProtoProxy: Fixed a few Clang and MSVC warnings.