Match socket errors other than 'closed' when sending a request, e.g. einval.