Test for SO_NOSIGPIPE rather than assuming all BSDs support it.
Test for SO_NOSIGPIPE rather than assuming all BSDs support it.

Signed-off-by: Jeff Garzik <15f615bf7d20c2937c7eb5aa759110fd6768848c@exmulti.com>

MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin