Spray Directives Migration

because a lot of directives depend on other directives, I start a branch for each a multiple directives integration 
I find how to replace mapFind by collectFirst in one case but not in the case of headerValue, but I continue to search a good way to do that