Fix the change raft test
Add some logging
Simplify the response types
Add profiling endpoints to the http api
No need for a function variable
Fix a bug in running continuous queries
Avoid copying bytes multiple times
Cleanup and fix the integration test
Clean up