Added options for custom request head extractor in node handler.