[core] remove redundant check for allow_http11