Refactoring

Fixed camelCase in ‘sendOfflineStatus’ and added alias ‘sendIsOffline’
for consistence with ‘sendIsOnline’