Fix client and server crash

Fix is against dbus 1.4.18 on Ubuntu 12.04