ipcc: Return dup of socket fd to user application

This will protect library from closing fd returned to user application.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>