stratum-server documentation & on-authentication event handler