Move code to display HTTP reply, start adding code to split header and data