Stop sock_send from SIGPIPE'ing

On Darwin, write to a broken connection by default throws SIGPIPE.