Add middleware::from_extractor_with_state
#1396
Merged
middleware::from_extractor_with_state
#1396