Break out of recv loop if we read no data - this prevents being stuck in an
infinite loop when reading from a dead server
Merge pull request #8 from mattbillenstein/master

Break out of recv loop when we read no data