Coseme: Exposing is_online() method to check if the socket is open
Fix sync fatal error