The world's most horrible glitch algorithm, it might not work because I don't know how to determine where headers end lol.