simplify sampled_logs
reorder calls to hive_query
fix bug introduced in url_filter, add str_tolower
tweak str_tolower to avoid --pedantic warning
fix bug in xff_handler
bah
add experimental C++ for user agent parsing