Headers and extensions are now always an array. Additional type check for date header.