Add error_code, error_msg, token, extra_param argument in SrsRequest.
Add HttpHooks::on_error HttpHooks::on_user_defined_event