Added functionality to set tr(uncated)-bit or truncate the response from lua