client: raise connection errors in socket space
1.19.2