Added automatic reconnect to proxy when necessary