Fixed warning: braces around scalar initializer in socket.c