Created one struct for handling both req and resp; put it in its own .c and .h