TS-3244 stats_over_http does not use path option
Add TS-3244 and some cleanup.