updating check-socket-open (removing socket-closing, combining some logic)
remove libevent specific code (wasnt being called, buts its vestigial dead weight.
exprt reset