The socket recv() call should wait for all bytes otherwise
the socket will timeout and message responses will be truncated.
Improve performance: use sendall
Merge pull request #11 from satterly/master

Bug fix for google.protobuf.message.DecodeError: Truncated message.
Merge pull request #10 from avishai-ish-shalom/master

Improved performance