Fixed a bug when invalidating returned chunk. Added bigger aggregation chunk size.
Fixed case with WebSockets wrong handshake data.
Added some tests defines for testing aggregation perf with IPC loopback.
Increased buffer size for aggregation.
Enhanced managed profiler class. Added some profiler REST APIs. Some refactoring in gateway.