[PATCH v3 10/16] flow,tcp: Generalise TCP epoll_ref to generic flows