Do not trigger HUP events on kqueue

Previously, mio would attempt to provide HUP events for kqueue platforms
that mimic the epoll behavior. However, it is not possible to do this
reliably. The assumption was that when an EVFILT_WRITE event is raised
with EOF set, this had to be the final event for a TCP socket due to how
the TCP protocol works.

As it turns out, user actions as well as external events can trigger
kqueue events. When the user calls `shutdown(SHUT_WR)`, this results in
an EVFILT_WRITE event with EOF set. Converting this to HUP at this point
is incorrect as data may still be received
diff --git a/src/sys/unix/kqueue.rs b/src/sys/unix/kqueue.rs
index 8bac337..59c70e1 100644
--- a/src/sys/unix/kqueue.rs
+++ b/src/sys/unix/kqueue.rs
@@ -295,18 +295,6 @@
                 event::kind_mut(&mut self.events[idx]).insert(Ready::readable());
             } else if e.filter == libc::EVFILT_WRITE as Filter {
                 event::kind_mut(&mut self.events[idx]).insert(Ready::writable());
-
-                // `EV_EOF` set with `EVFILT_WRITE` indicates the connection has been fully
-                // disconnected (read and write), but only sockets...
-                if e.flags & libc::EV_EOF != 0 {
-                    event::kind_mut(&mut self.events[idx]).insert(UnixReady::hup());
-
-                    // When the read end of the socket is closed, EV_EOF is set on
-                    // flags, and fflags contains the error if there is one.
-                    if e.fflags != 0 {
-                        event::kind_mut(&mut self.events[idx]).insert(UnixReady::error());
-                    }
-                }
             }
 #[cfg(any(target_os = "dragonfly",
     target_os = "freebsd", target_os = "ios", target_os = "macos"))]