allow TimeRange to be null
deal with case of no active network
do not send messages if there is no connection
added version 2.7
refactored isConnected and isInBlackout to a single call to reduce calls to get active network
added version 2.7