callcgi: Remember to check for POLLERR and POLLHUP on the input socket.