ProxyServer middleware