Refactor formatURL in health/http.go

Using stdlib to format URL instead of building by Sprintf.