add offline flag

This will be needed by the offline feature in the client, https://github.com/leapcode/bitmask_client/pull/507