Added SOCKET_DEBUG macro.