fix(net.Socket): add isConnected boolean