Allow enabling / disabling tracing via the HTTP API.
Merge bug25641