Backport async accept patch to prevent DNS resolution from blocking accepts.