7.x 1.x offline

small bug fix and allowing ripple to test offline mode.
(note: it just signals the app it is offline, but all requests still go through, but this is an issue in ripple)