[PATCH] server: Avoid reporting POLLOUT on connection failure in poll_single_socket().