changed path to .
added disconnect and timeout event for Net.
changed ping to be based on timeout.
added ping states.