Add 30.0 and 31.0 to list of valid API versions.
Remap ETIMEDOUT errors the same way that we remap ECONNRESET (for better downstream error handling/reporting).