HTTP and WebSocket aggregation thinlayer