An unexpected EOF error can occur when Docker is restarted.
Merge pull request #108 from nitrous-io/events-unexpected-eof

Events - handle unexpected EOF