wip: do not use MSG_NOSIGNAL when it's not defined