socket: synthesize errno EWOULDBLOCK for callers.