added class to hold a dialogue between the server and the client. added to the result of http request and response headers