PTFM-13951 Retry upon connection error even for non-idempotent requests

@kislyuk, care to review?
You can use a set literal here :)
```
{errno.ENETDOWN, errno.ENETUNREACH, errno.ECONNREFUSED}
```