[syslog-ng] Problem when getting data from syslog-ng into a socket program