Extracted ProxyLoop into separate class