in_monitor_agent: move debug_mode flag from config file to the query_string in a HTTP request