Updating header checks to better prevent crashes due to headers that somehow do not have a split method.