Revert "Revert "Wifi: wifi not connecting, once the APN gets disabled state""

This reverts commit 8f5e48f707ac87ed86c3dc9c92785fc3ada13746.
Revert "Revert "Set Settings.Global.WIFI_SUSPEND_OPTIMIZATIONS_ENABLED default value""

This reverts commit 30db52660edd1dddfd5587e36d08f687ac0e73b6.