client: append package type to syslog messages
client: fix crash and memory leak with broker_resq