Temporarily enable setsockopt to use SO_NOSIGPIPE