Middleware oriented proxy