Add underscore and move onquit to conn.

Add underscore and use it to have user inherit from events.EventEmitter.
Move onquit to conn's close event.