Almost finished unixsocket.cpp