set SO_NOSIGPIPE socket option when available
set SO_NOSIGPIPE socket option when available

This ensures we avoid SIGPIPE on socket disconnect on Darwin.

lostdj/avian,ucdseniordesign/avian,minor-jason/avian,bgould/avian,ucdseniordesign/avian,bigfatbrowncat/avian-pack.avian,bigfatbrowncat/avian-pack.avian,dicej/avian,joshuawarner32/avian,lostdj/avian,bgould/avian,marcinolawski/avian,MaartenR/avian,marcinolawski/avian,joshuawarner32/avian,lwahlmeier/avian,MaartenR/avian,minor-jason/avian,getlantern/avian,bgould/avian,joshuawarner32/avian,marcinolawski/avian,lostdj/avian,MaartenR/avian,MaartenR/avian,ucdseniordesign/avian,getlantern/avian,dicej/avian,getlantern/avian,dicej/avian,lwahlmeier/avian,marcinolawski/avian,bgould/avian,lostdj/avian,lwahlmeier/avian,joshuawarner32/avian,minor-jason/avian,getlantern/avian,ucdseniordesign/avian,minor-jason/avian,bigfatbrowncat/avian-pack.avian,bigfatbrowncat/avian-pack.avian,lwahlmeier/avian,dicej/avian