fixing infinte errors when munin node dies

* `gets` might return nil when the socket is closed
  see http://www.ruby-forum.com/topic/2523071
* raising an EOFError when this happens to prevent
  infinite loop sending bazillion of syslog errors...