Updates the current proxy
void setProxy(Proxy? proxy) { _currentProxy = proxy; currentProxy = proxy; }