A middleware-based TCP requests router