added http stream, made beat function auto throttling