Adding support for a timeout on the daemon read. This makes sure Puppet doesn't hang indefinitely if the daemon doesn't get its sync strings.

Signed-off-by: Bert Hajee <hajee@moretIA.com>