server receives messages and displays header information