Rework socket communication to use glib instead of qt

As we're moving into a situation where qt4 and qt5 exists both in our system we have to
make sure nothing a qt5 application needs is linking against qt4.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Change build system to use autotools instead of qmake

Signed-off-by: Simon Busch <morphis@gravedo.de>
Correct description of pkg-config entry

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add missing glib.h include

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add missing fdpass.c to list of sources for compilation

Signed-off-by: Simon Busch <morphis@gravedo.de>
Don't call client initialization more than once

Signed-off-by: Simon Busch <morphis@gravedo.de>