stats_controller: HTTP request improvement
use ActiveSupport's to_query method instead of Net's set_form_data to avoid passenger errors on newer versions.