Delete one more socket_perror().
Remove more obsolote macros, make DEBUG_MACRO always on.