protected override void Invoke(HttpContext context, RequestDelegate next) { // TODO: Threading issues? Hangs When pushing 10+ session per second - Rethinking? _httpMessage.Decode(context); next(context); _httpMessage.Encode(context); }