Worked on server header grabbing function