add preprocessor cmds to choose MSG_NOSIGNAL on send, or SO_NOSIGPIPE sockopt before connect