reading received header