Added capability of disabling the proxy, both in the API and in the GUI