Add variable HTTP header

Also switch from OptEnum to OptString for flexibility.
Add header specification to check module, lands #3902