coreserver: Use unix domain sockets, if available

Signed-off-by: Michael Buesch <m@bues.ch>