Raise an IOError if the socket has data on it before sending
Merge pull request #1 from timelinelabs/raise-ioerror-on-dirty-socket

Raise an IOError if the socket has data on it before sending