Fixes sending of messages of size 2048.
Merge pull request #11 from ps-labs/fix-send-2048

Fixes sending of messages of size 2048.