Using ably-js-react native, connection attempts or rest requests appear to timeout immediately

For example, if you init a realtime connection and it tries to connect and immediately goes from the `connecting` state to the `disconnected` state, with a reason of `Connection to server temporarily unavailable`. This can happen if the device time is set wrongly, in particular if using an emulator or if in debug mode, see https://stackoverflow.com/questions/51163349/javascript-settimeout-immediately-runs-in-react-native , which can break timeouts. You can diagnose this by calling, say, `setTimeout(() => console.log("done"), 10000)` yourself; this should print "done" after 10 seconds, if it prints it immediately, you have this issue.