fixes and refactor
* reformat using a luvit-like code style
* use the core emitter for luvit like object syntax
* fix runts from the socket
* emit connected on a tls connect
* emit more data on a privmsg