could you, please expose 'socket.connected' property to be able to find the status of socket, please?