Added header file, SUBSTANTIALLY cleaned up the code, now we need to do http1.0/1.1