Added EINPROGRESS check in socket_connect for non-blocking client sockets.
Added pre-start check for the destination address to make sure it is connectable (fixes #35).
Computing of total data length in a stack is now done at every write (fixes #34).
Removed some commented debug code.
Added client socket IP and port to output when querying a UID in IPC client (fixes #28).
Added -c, --sock-file to set the IPC socket filename (fixes #27).
Replaced verbose_flag with built-in LOG_VERBOSE.
Moved ipc and sock_file from main.c to ipc.h.
Reorganised and cleaned code.