Use sendall instead send
Merge pull request #12 from PetrovSE/sendall

Use sendall instead send