emit 'register' event

allows registering multiple register handlers, a la HttpServer#on('connection').