More advanced proxy with retry capabilities on connect