Changed way of response passing.

Response should be passed as a tuple with status code, headers and
message body.