netcat replacement (uses epoll)