socket.c: fix format string issues (too few arguments)