socket_client.cpp: prevent buffer overflow in creation of unix socket