Add support for timeout parameter in request_response