MB-29412 Use sendall instead of send
MB-29412 Use sendall instead of send

The Python socket.send() will not send the whole payload in some
situations, which will create a malformed packet. Using sendall()
will ensure the whole payload is sent.

Change-Id: Ib51b5b8ef33d764e600f73cf15bd9a1e9c155d22
Reviewed-on: http://review.couchbase.org/93608
Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
Tested-by: Patrick Varley <cbb7353e6d953ef360baf960c122346276c6e320@couchbase.com>
Reviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>

daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine