httpendpoint: Protect base_time from concurrent access

Change-Id: Ie280f84c537a3bd6f0ac0fe35ce37318930d7afb