Check for `yz-fprof` header later in request

Check for the `yz-fprof` header later in the search request lifecycle
since one of the unit tests calls `service_available` directly.