using a new structure called HTTPTransaction to organize better the data