Correct usage of the TCP mixin
Merge pull request #1 from wchen-r7/pr2756_dev

Correct usage of the TCP mixin EDIT by floyd: unsure about the removing of buf.length, I'll test and revert back if incorrect