More work on IPC connection initialisation.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
More work on ipc transport

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>