Add debug output to pin down issue 3545.
Fix issue 3545. Disconnect a client when the expected protocol buffer length is more than 128MB to prevent a crash.