Copy syslog package from go1.2rc2 (rev 51407182d459)

Fixes missing handling of write errors to the syslog connection.
Use syslog package from Go 1.2rc2

We need the missing write error handling (Go issue #5541).