Slow query logging for HTTP queries

1. Added slow_log_threshold option in configuration. Only queries that took more than slow_log_threshold milliseconds will be logged.
2. slow_log_threshold is set to 0 - All queries will be logged by default.