fix MSG_NOSIGNAL case and move SO_NOSIGPIPE check before SSL check
fix MSG_NOSIGNAL case and move SO_NOSIGPIPE check before SSL check

bigcrush/cqueues,wahern/cqueues,bigcrush/cqueues,wahern/cqueues,daurnimator/cqueues,daurnimator/cqueues