[#240] Clear apiProxy & windowsProxy on disable()
Created by: hedayat
Sorry for the late discovery. :( I'm not sure if it fixes anything important, but at least fixes some warnings and prevents deferred_enable() to be called multiple times after disable/enable.
Closes: #240