check for private headers & connection close