Adding socket connection status