support socket communication with client and systemd integration