Add timeouts for syslog

In order to detect dead syslog readers,
use a timout on (re-)connect and write.
crude test for timeout behavior
Merge pull request #31 from Jimdo/more_timeouts

Add timeouts for syslog