bash v4+ is now mandatory.
Add generic function to look for headers options.