client/server: Emitter for REG* events

Updated all emitted messages during REG, REGOFFER, REGACK & REGFIN to use
JSON formatted objects with debug, info, warn, error keys for bound
listeners.

Updated connection emitter to show warning of self signed certs for bound
listeners