code: func newSyslogServer(path string) (*syslogServer, error) {
  	glog.Infof("Starting syslog server for haproxy using %v as socket", path)
  	// remove the socket file if exists
  	os.Remove(path)
  
  	server := &syslogServer{syslog.NewServer()}
  	server.AddHandler(newHandler())
  	err := server.Listen(path)
  	if err != nil {
  		return nil, err
  	}
  
  	return server, nil
  }
docs: // newSyslogServer start a syslog server using a unix socket to listen for connections