Some code to parse headers and go through ASCII stopping data added. Possibly buggy and definitely not ready.